﻿using System;
using System.Collections.Generic;

namespace SharePhone.Search
{
    public class SearchDocument
    {
        public int Relevance { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public DateTime Date { get; set; }
        public string LinkUrl { get; set; }
        public List<SearchDocumentProperty> Properties { get; set; }
    }

    public class SearchResult
    {
        public string Status { get; set; }
        public string DebugErrorMessage { get; set; }
        public int TotalAvailable { get; set; }
        public List<SearchDocument> Results { get; set; }
    }
}